<!DOCTYPE HTML>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>提出问题</title>
		<link rel="stylesheet" type="text/css" href="../../lib/api.css" />
		<link rel="stylesheet" type="text/css" href="../../lib/font-awesome.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/common.css" />
		<link rel="stylesheet" type="text/css" href="../../css/community/putQuestions.css" />
		<link rel="stylesheet" type="text/css" href="../../css/community/questionDetails.css" />
	</head>

	<body>
		<div id="app" v-cloak>
			<!--公共头部开始-->
			<div class="back-header">
				<a onclick="api.closeWin()" class="back-header-a">
					<i class="fa fa-angle-left fa-2x white middle"></i>
				</a>
				<div class="back-header-main">提问</div>
				<span class="back-header-span" v-on:click="publicQ()">发布</span>
			</div>
			<!--公共头部结束-->
			<!--内容部分开始-->
			<div class="put-questions-main">
				<div class="main-title">
					<input class="W main-input-one" type="text" placeholder="请输入标题" name="" id="" v-model="title" />
				</div>
				<div class="main-textarea">
					<textarea placeholder="请添加内容" class="put-questions-textarea" v-model="content"></textarea>
					<div class="pull-img">
						<i class="fa fa-photo"></i>
					</div>
				</div>
				<div class="main-input question-detail-main-input">
					<input type="text" class="main-input-two" placeholder="请添话题" v-model="topic">
					<ul class="topic_ul hide" id="topic-ul">
						<li v-for="item in topicL" v-on:click="check(item.id, item.name)">{{item.name}}</li>
					</ul>
					<span class="fa fa-search" v-on:click="searchTopic()"></span>
				</div>
				<div class="main-topic question-detail-topic">
					<div class="least-topic question-least-topic">至少添加一个话题</div>
					<div class="clear"></div>
				</div>
				<div class="topic-list-all">
					<div class="topic-list" v-for="item in topicList">
						<div class="topic-list-text">
							<p>{{item.name}}</p>
						</div>
						<div class="clear"></div>
					</div>
				</div>
			</div>
			<!--内容部分E-->
		</div>
	</body>
	<script src="../../script/api.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../script/vue.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../script/common/config.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../script/common/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../script/community/putQuestion.js" type="text/javascript" charset="utf-8"></script>

</html>